import request from '@/utils/request'

export function getListApi(params) {
    //新闻分页列表
    return request({
        url: '/api/messageList',
        method: 'get',
        params
    })
}
export function releaseApi(data) {
    //新闻分页列表
    return request({
        url: '/api/saveMessage',
        method: 'post',
        data
    })
}
